package com.mice.microserviceconsumer.restApi;

import com.mice.microserviceconsumer.bean.User;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by AmbitiousMice on 2018/9/14.
 */
public interface UserFeignClient {

    @RequestMapping("/user/{id}")
    public User findById(@PathVariable("id") Integer id);
}
